package com.ruoyi.bus.domain;

import java.util.Date;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 站点路线对象 wit_route_site
 * 
 * @author caiyanshan
 * @date 2021-04-14
 */
public class WitRouteSite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 路线ID */
    //@Excel(name = "路线ID")
    private Long routeId;

    /** 站点ID */
    //@Excel(name = "站点ID")
    private Long siteId;

    @Excel(name = "路线名称")
    private String routeName;

    @Excel(name = "站点名称")
    private String siteName;

    @Excel(name = "预约总数")
    private Integer appointCount;

    @Excel(name = "经度")
    private String longitude;

    @Excel(name = "纬度")
    private String latitude;

    /** 排序 */
    @Excel(name = "排序号")
    private Integer sort;

    /** 早班到达时间 */
/*    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "早班到达时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    @Excel(name = "早班到达时间")
    private String amArriveTime;

    /** 晚班到达时间 */
/*    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "晚班到达时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    @Excel(name = "晚班到达时间")
    private String pmArriveTime;

    private Long routeSiteId;

    //以下为小程序端需要的代码
    
    private String num = "12333";//小程序端固定值
    
    private Long id;
    
    private Map<String, Object> label;

    private Integer inCarCount;//每站上车数量
    
    private String thisOne;
    
    private String nextAm;
    
    private String nextPm;



    public Integer getAppointCount() {
        return appointCount;
    }

    public void setAppointCount(Integer appointCount) {
        this.appointCount = appointCount;
    }

    public String getThisOne() {
        return thisOne;
    }
    
    public void setThisOne(String thisOne) {
        this.thisOne = thisOne;
    }
    
    public String getNextAm() {
        return nextAm;
    }
    
    public void setNextAm(String nextAm) {
        this.nextAm = nextAm;
    }
    
    public String getNextPm() {
        return nextPm;
    }
    
    public void setNextPm(String nextPm) {
        this.nextPm = nextPm;
    }
    
    public Integer getInCarCount() {
        return inCarCount;
    }

    public void setInCarCount(Integer inCarCount) {
        this.inCarCount = inCarCount;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public Long getRouteSiteId() {
        return routeSiteId;
    }

    public void setRouteSiteId(Long routeSiteId) {
        this.routeSiteId = routeSiteId;
    }
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getLatitude() {
        return latitude;
    }
    
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }
    
    public String getLongitude() {
        return longitude;
    }
    
    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }
    
    public String getNum() {
        return num;
    }
    
    public void setNum(String num) {
        this.num = num;
    }
    
    public Map<String, Object> getLabel() {
        return label;
    }
    
    public void setLabel(Map<String, Object> label) {
        this.label = label;
    }
    
    public String getSiteName() {
        return siteName;
    }
    
    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }
    
    public String getAmArriveTime() {
        return amArriveTime;
    }
    
    public void setAmArriveTime(String amArriveTime) {
        this.amArriveTime = amArriveTime;
    }
    
    public String getPmArriveTime() {
        return pmArriveTime;
    }
    
    public void setPmArriveTime(String pmArriveTime) {
        this.pmArriveTime = pmArriveTime;
    }
    
    public void setRouteId(Long routeId)
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
/*    public void setAmArriveTime(Date amArriveTime)
    {
        this.amArriveTime = amArriveTime;
    }

    public Date getAmArriveTime() 
    {
        return amArriveTime;
    }
    public void setPmArriveTime(Date pmArriveTime) 
    {
        this.pmArriveTime = pmArriveTime;
    }

    public Date getPmArriveTime() 
    {
        return pmArriveTime;
    }*/

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("routeId", getRouteId())
            .append("siteId", getSiteId())
            .append("sort", getSort())
            .append("amArriveTime", getAmArriveTime())
            .append("pmArriveTime", getPmArriveTime())
            .toString();
    }
}
